#pragma once

#include<iostream>
#include<ctime>

#define Debug 0
#define Notice 1
#define Warning 2
#define Error 3



const std::string str[]={
    "Debug",
    "Notice",
    "Warning",
    "Error"
};


std::ostream& Log(std::string message, int label)
{
    std::cout << "[" <<(unsigned long)time(nullptr) <<"]: " << str[label] <<"," << message << std::endl;
    return std::cout;
}